[INFO] fetching crate bcm2709-spi 0.1.1...
[INFO] checking bcm2709-spi-0.1.1 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate bcm2709-spi 0.1.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate bcm2709-spi 0.1.1 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bcm2709-spi 0.1.1
[INFO] finished tweaking crates.io crate bcm2709-spi 0.1.1
[INFO] tweaked toml for crates.io crate bcm2709-spi 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dde38a3a275a706c3dae3b97488798f8c51fcc327bdd6bab76824bdf469db896
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dde38a3a275a706c3dae3b97488798f8c51fcc327bdd6bab76824bdf469db896", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dde38a3a275a706c3dae3b97488798f8c51fcc327bdd6bab76824bdf469db896", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dde38a3a275a706c3dae3b97488798f8c51fcc327bdd6bab76824bdf469db896", kill_on_drop: false }`
[INFO] [stdout] dde38a3a275a706c3dae3b97488798f8c51fcc327bdd6bab76824bdf469db896
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd2980c95b69f77d076d7ae69dc0bdf89cef9414ee16f1e104748b432b363fce
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bd2980c95b69f77d076d7ae69dc0bdf89cef9414ee16f1e104748b432b363fce", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking vcell v0.1.2
[INFO] [stderr]     Checking bcm2709-spi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:136:59
[INFO] [stdout]     |
[INFO] [stdout] 136 |             return (spi.fifo.register.get() & 0xFF) as u8;;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         pub const RXF: u32 = (1 << 20);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         pub const RXR: u32 = (1 << 19);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |         pub const TXD: u32 = (1 << 18);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:136:59
[INFO] [stdout]     |
[INFO] [stdout] 136 |             return (spi.fifo.register.get() & 0xFF) as u8;;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         pub const RXF: u32 = (1 << 20);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         pub const RXR: u32 = (1 << 19);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |         pub const TXD: u32 = (1 << 18);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         pub const RXD: u32 = (1 << 17);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub const DONE: u32 = (1 << 16);
[INFO] [stdout]     |                               ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |         pub const TA: u32  = (1 << 7);
[INFO] [stdout]     |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 |         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout]     |                               ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout]     |                               ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         pub const RXD: u32 = (1 << 17);
[INFO] [stdout]     |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub const DONE: u32 = (1 << 16);
[INFO] [stdout]     |                               ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |         pub const TA: u32  = (1 << 7);
[INFO] [stdout]     |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 |         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout]     |                               ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout]     |                               ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:526:30
[INFO] [stdout]     |
[INFO] [stdout] 526 |             fd = libc::open( "/dev/mem".as_ptr() as *const u8, libc::O_RDWR | libc::O_SYNC | libc::O_CLOEXEC );
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bcm2709-spi`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:526:30
[INFO] [stdout]     |
[INFO] [stdout] 526 |             fd = libc::open( "/dev/mem".as_ptr() as *const u8, libc::O_RDWR | libc::O_SYNC | libc::O_CLOEXEC );
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bd2980c95b69f77d076d7ae69dc0bdf89cef9414ee16f1e104748b432b363fce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd2980c95b69f77d076d7ae69dc0bdf89cef9414ee16f1e104748b432b363fce", kill_on_drop: false }`
[INFO] [stdout] bd2980c95b69f77d076d7ae69dc0bdf89cef9414ee16f1e104748b432b363fce
